package com.shujia.singleton;

public class TestHungry {
    public static void main(String[] args) {

        HungrySingleton instance1 = HungrySingleton.getInstance();
        HungrySingleton instance2 = HungrySingleton.getInstance();

        System.out.println(instance1 == instance2);
    }
}
